package com.joizhang.seckill.api.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@ToString
public class SecKillGoodsVo implements Serializable {

    /**
     * Goods data
     */
    private Long id;
    private String goodsName;
    private String goodsTitle;
    private String goodsImg;
    private String goodsDetail;
    private Double goodsPrice;
    private Integer goodsStock;

    /**
     * Sec-killing goods data
     */
    private Long goodsId;
    private Double secKillPrice;
    private Integer stockCount;
    private LocalDateTime startDate;
    private LocalDateTime endDate;
    private Integer version;

}
